import { Component, OnInit } from '@angular/core';
import { SlideIn } from "../animations/slideIn.animation";

@Component({
  selector: 'app-charts',
  templateUrl: './charts.component.html',
  styleUrls: ['./charts.component.scss'],
  animations: [SlideIn]
})
export class ChartsComponent implements OnInit {

  public routerData: any;

  constructor() { }

  ngOnInit() {
    this.routerData = [
      {
        path: 'lineChart',
        name: '折线图'
      },
      {
        path: 'barChart',
        name: '柱形图'
      },
      {
        path: 'pieChart',
        name: '饼状图'
      },
      {
        path: 'gauge',
        name: '仪表盘'
      }
    ]
  }

}
